<?php
	if(isset($_POST['id'])){
		if(is_numeric($_POST['id']))
		{
		    header('Content-type: text/json');
		    require 'MySqlHelper.php';
		    $connObj = new MySqlHelper();
		    $arr=$connObj->GetJsonData('select * from NavTree where ID = '.$_POST['id']);
		    if(count($arr)>0)
		    {
		    	echo json_encode($arr);
		    }
		}
		else {echo 'b';}
	}
	else {echo 'a';}